package edu.sctu.wangxiaoqiang.day20150524.textone;

/**
 * Created by user25 on 2015/5/24.
 */
public class Shape {

    public  int x;public  int y;
    private int m;private int n;
    public Shape(){
     x = 10;y = 20;
     m = 100;n = 200;
     System.out.println("x = "+x+" "+"y = "+y);
     System.out.println("this is a Constractor of shape");
    }

    public void measure(){
     int s;s = x*y;
     System.out.println("result = "+s);
    }

    void show(){
     System.out.println("x = "+x+" "+"y = "+y);
    }
}
